const homeRoute = [
  {
    path: "/homePage",
    name: "homePage",
    component: () => import("@/views/homePage/index.vue"),
    meta: {
      menuId: "1",
      title: "首页",
    },
  },
  {
    path: "/authority",
    name: "authority",
    meta: {
      menuId: "2",
      title: "权限管理",
    },
    children: [
      {
        path: "/authority/userManage",
        name: "userManage",
        component: () => import("@/views/authority/userManage.vue"),
        meta: {
          menuId: "2-1",
          title: "用户管理",
        },
      },
      {
        path: "/authority/role",
        name: "role",
        component: () => import("@/views/authority/role.vue"),
        meta: {
          menuId: "2-2",
          title: "角色管理",
        },
      },
      {
        path: "/authority/permission",
        name: "permission",
        component: () => import("@/views/authority/permission.vue"),
        meta: {
          menuId: "2-3",
          title: "菜单管理",
        },
      },
    ],
  },
];
export default homeRoute;
